package com.qk.common.enums;

/**
 * @author ZLJ
 * @date 2025/10/10 10:44
 * @Description
 */
@SuppressWarnings("all")
public enum ParamEnum implements  Code{
    PARAM_ERROR("参数错误", 10001),
    LOGIN_USERNAME_PASSWORD_ERROR("用户名或密码错误", 10002),
    LOGIN_PASSWOED_ERROR("密码错误", 10003),
    LOGIN_USER_NOT_EXIST("用户不存在", 10004),
    LOGIN_USER_STATUS_ERROR("用户状态异常", 10005);


    private final String msg;
    private final int code;

    ParamEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
